package com.shenmazong.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 教师表——suliven
 * @TableName tb_teacher
 */
@TableName(value ="tb_teacher")
@Data
public class TbTeacher implements Serializable {
    /**
     * 教师Id
     */
    @TableId
    private Long teacherId;

    /**
     * 教师编号
     */
    private Integer teacherNo;

    /**
     * 教师名称
     */
    private String teacherName;

    /**
     * 教师年龄
     */
    private Integer teacherAge;

    /**
     * 教师照片
     */
    private String teacherImg;

    /**
     * 联系电话
     */
    private String teacherTel;

    /**
     * 教师身份证
     */
    private String teacherIdcard;

    /**
     * 教师性别
     */
    private Byte teacherSex;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 软删除
     */
    @TableLogic
    private Byte deleteFlag;

    /**
     * 用户Id
     */
    private Integer userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}